package org.zyl.support.response;

public class BaseOperateResponse {
	/**
	 * 错误码
	 */
	private int code;
	/**
	 * 错误描述
	 */
	private String text;

	public BaseOperateResponse init_code(ResponseCode rc){
		this.code = rc.getCode();
		this.text = rc.getText();
		return this;
	}
	 
	public int getCode() {
		return code;
	}
	public void setCode(int code) {
		this.code = code;
	}
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
}